Using the __midl Predefined Constant

When the MIDL compiler processes the input IDL and ACF files, __midl is defined by default and is used for conditional compilation to attain consistency throughout the build. This phases out the use of defines in the header files, such as MIDL_PASS, and replaces them with a consistent flag.

If you choose, you can override this default by specifying the following on the command line:

-U__midl

 

See also

/U_RPC_U